const queryParams = [
]

const pageConfig = {
    limit: 20
}

const tableConfig = {
    status: {
        dictList: [
            { name: '等待', val: 0 },
            { name: '执行中', val: 1 },
            { name: '执行完成', val: 2 },
            { name: '手动停止', val: 3 }
        ],
        type: 'customer',
        title: '任务状态',
        hiddenForm: true
    }
}

const formConfig = {
    ...tableConfig
}

const formRules = {}

export async function init() {
    return {
        queryParams,
        tableConfig,
        pageConfig,
        formConfig,
        formRules
    }

}